package cn.zjitc.pojo;


import java.io.Serializable;


/**
 * 用户
 */
public class User implements Serializable{
    private Integer user_id; // 主键
    private String user_name; // 用户名，唯一
    private String user_password; // 密码
    private String user_state; // 状态
    private String user_email; // 邮箱
    private Integer user_borrow_num; //已借阅数
    private Integer user_history_num; //历史借阅数
    private Integer user_borrow_day; //借阅天数
    private Integer user_max_num; //最大借阅数
    private String code;//验证码

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_state() {
        return user_state;
    }

    public void setUser_state(String user_state) {
        this.user_state = user_state;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public Integer getUser_borrow_num() {
        return user_borrow_num;
    }

    public void setUser_borrow_num(Integer user_borrow_num) {
        this.user_borrow_num = user_borrow_num;
    }

    public Integer getUser_history_num() {
        return user_history_num;
    }

    public void setUser_history_num(Integer user_history_num) {
        this.user_history_num = user_history_num;
    }

    public Integer getUser_borrow_day() {
        return user_borrow_day;
    }

    public void setUser_borrow_day(Integer user_borrow_day) {
        this.user_borrow_day = user_borrow_day;
    }

    public Integer getUser_max_num() {
        return user_max_num;
    }

    public void setUser_max_num(Integer user_max_num) {
        this.user_max_num = user_max_num;
    }
}
